package com.todo.user.application.backend.service;

import com.todo.common.common.entity.response.page.PageResult;
import com.todo.user.iface.backend.request.*;
import com.todo.user.iface.backend.response.QueryUserAccountByConditionResp;
import com.todo.user.iface.backend.response.UserAccountDetailResp;
import com.todo.user.iface.backend.response.UserAuthRecordResp;
import com.todo.user.iface.backend.response.UserOperateRecordResp;

import java.util.List;

/**
 * (UserAccount)表服务接口
 *
 * @author zhangwenxiang
 * @since 2024-03-04 00:19:49
 */
public interface UserAccountBackendService {

    /**
     * 查询用户详情信息
     *
     * @param req
     * @return
     */
    UserAccountDetailResp queryUserAccountDetail(QueryUserAccountDetailReq req);

    /**
     * 用户禁言
     *
     * @param req
     * @return
     */
    Boolean mutedUserAccount(MutedUserAccountReq req);

    /**
     * 多条件查询用户账户信息
     *
     * @param req
     * @return
     */
    PageResult<QueryUserAccountByConditionResp> queryUserAccountByCondition(QueryUserAccountByConditionReq req);

    /**
     * 多条件查询用户操作记录
     *
     * @param req
     * @return
     */
    PageResult<UserOperateRecordResp> queryUserOperateRecordByCondition(QueryUserOperateRecordByConditionReq req);

    /**
     * 查询用户授权记录
     *
     * @param req
     * @return
     */
    List<UserAuthRecordResp> queryUserAuthRecordList(QueryUserAuthRecordListReq req);
}
